// pages/index/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
  
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
  
  },
  getdata : function(){
    var str = "Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50SW5mbyI6IntcImlkXCI6MTAsXCJ1c2VybmFtZVwiOlwibGl1Y2hlbmctYWRtaW5cIixcInBhc3N3b3JkXCI6XCI5YTg0ZWU0MWFhNzJkZTU5YzYzMDA2YWFkNjcwYmNjZVwiLFwibmFtZVwiOlwi6ZuG5ZuiXCIsXCJzZXhcIjoyLFwicGhvbmVOdW1iZXJcIjpcIjE1MzMwMTcwMzRcIixcImNvbXBhbnlcIjp7XCJpZFwiOjIsXCJuYW1lXCI6XCLliJjnqIvnqIvnmoTpm4blm6JcIixcInBhcmVudElkXCI6MCxcImRldmljZUlkc1wiOltcIkU4NEUwNjM4MTE3QlwiXX0sXCJpc0FkbWluXCI6MSxcInN0YXR1c1wiOjB9IiwiYXVkIjpbIkFQSSJdLCJ1c2VyX25hbWUiOiJsaXVjaGVuZy1hZG1pbiIsInNjb3BlIjpbImNsaWVudCJdLCJleHAiOjE1MzU2MTQ5NzIsImF1dGhvcml0aWVzIjpbIi9zdWJzaWR5L2ltcG9ydCIsIi9tZWFscGVyaW9kL2VkaXQiLCIvZm9vZC9kZXRhaWxzIiwiL2NhcmQvYmFjayIsIi9icmFuY2gvY2FudGVlbi9nZXQiLCIvYWNjb3VudGluZy9wYXltZW50cy9jYXJkIiwiL2NhcmQvb3Blbi9waHlzaWNhbC9vcmRpbmFyeSIsIi9icmFuY2gvY2FudGVlbi9lZGl0IiwiL2Zvb2QvZGVsZXRlIiwiL3JlY2lwZXBsYW4vY29weSIsIi9mb29kY2F0ZWdvcnkvZWRpdCIsIi9icmFuY2gvY2FydmljZS9nZXQiLCIvcmVjaXBlcGxhbi9xdWVyeSI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xpc3QiLCIvc3RhZmYvcmVzZXQiLCIvb3JkZXIvbWVhbGxpc3QiLCIvYnJhbmNoL2NhcnZpY2UvZWRpdCIsIi9jb29rL2xpc3QiXSwianRpIjoiODMxNWUzMDEtNjI1Mi00YjQ1LWIyMzAtOTQwY2RjZmMwMmE0IiwiY2xpZW50X2lkIjoid2lzZG9tY2FudGVlbndlYiJ9.RdmHUvosZvzt7tbSexgdO9eZyjAiB06Q7TwAYBRT7Dsuwm8TczpGSX7DKXOcthFuBGpoHV0BgwWkXn0_4wv1-X4Pke6l0C6S-yUrNYZRNQiPB9p683c7fHVfDHk6Nr-iO9rIvY0BtYKZxku5QPbQ30GJnD0Cpv27YLkJO8kq2jWKyePbLnzyBsPAHe-EUdE1RsM5QJpjMJzKIWpG-Gm0eXhimexEkpodPyk_13WzlYqrqoLDWeW48wf6XSO1yTV_NRtjTF1y2xuJUEkJVpSL2-3z67dq-c84rIogezYOLv0VO_uPR_RLA6xPxswxIqnZv4bwahyhV79zln6SPMnutw"
    getApp().requestPost('http://api.st365.vip/admin/city/list', '', function(res){
      console.log('success', res)
    },function(res){
      console.log(res)
    })
    // wx.request({
    //   url: 'http://api.st365.vip/admin/city/list',
    //   method: 'POST',
    //   header: { "Authorization":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50SW5mbyI6IntcImlkXCI6MTAsXCJ1c2VybmFtZVwiOlwibGl1Y2hlbmctYWRtaW5cIixcInBhc3N3b3JkXCI6XCI5YTg0ZWU0MWFhNzJkZTU5YzYzMDA2YWFkNjcwYmNjZVwiLFwibmFtZVwiOlwi6ZuG5ZuiXCIsXCJzZXhcIjoyLFwicGhvbmVOdW1iZXJcIjpcIjE1MzMwMTcwMzRcIixcImNvbXBhbnlcIjp7XCJpZFwiOjIsXCJuYW1lXCI6XCLliJjnqIvnqIvnmoTpm4blm6JcIixcInBhcmVudElkXCI6MCxcImRldmljZUlkc1wiOltcIkU4NEUwNjM4MTE3Qlwi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    //   success: function (result) {
    //     console.log('request success', result)
    //   }
    // })
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
  
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
  
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  }
})